package tw.cuttle.bean;

import java.io.Serializable;

public class Cache implements Serializable {
    public enum CACHE_TYPE{
	memory, file
    }
    /**
     * 
     */
    private static final long serialVersionUID = -334463118175910456L;
    private String id;
    private Integer timeout=-1;
    private String appendParameter;
    private String type="memory";
    /**
     * @return the type
     */
    public String getType() {
        return type;
    }
    /**
     * @param type the type to set
     */
    public void setType(String type) {
        this.type = type;
    }
    /**
     * @return the id
     */
    public String getId() {
        return id;
    }
    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }
    /**
     * @return the timeout
     */
    public Integer getTimeout() {
        return timeout;
    }
    /**
     * @param timeout the timeout to set
     */
    public void setTimeout(Integer timeout) {
        this.timeout = timeout;
    }
    /**
     * @return the appendParameter
     */
    public String getAppendParameter() {
        return appendParameter;
    }
    /**
     * @param appendParameter the appendParameter to set
     */
    public void setAppendParameter(String appendParameter) {
        this.appendParameter = appendParameter;
    }
}
